@charset "utf-8";

/* kv */
.kv {
  position: relative;
  padding: 0 3.3vw;
}

.kv-img {
  width: 100%;
}

.kv-img-txt .kv-img-sp {
  display: none;
}

h1 {
  color: #ffffff;
  text-shadow: 0.5px 0.5px 8px #4d2c14;
  font-size: clamp(1.8rem, calc(1.25vw + 1.5rem), 3.2rem);
  letter-spacing: 0.2em;
  line-height:1.5;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.kv-img-txt p {
  color: #ffffff;
  text-shadow: 0.5px 0.5px 8px #4d2c14;
  font-size: 18px;
  letter-spacing: 0.2em;
  line-height:1.5;
  position: absolute;
  top: 60%;
  left:50%;
  transform: translate(-50%,-60%);
  padding:0;
  margin:0;
}

/* section全体 */
.main {
  background: url(../images/top/backimg-layer04.png) repeat-x;
  background-position: bottom center;
  background-size: 90%;
}

.sec {
  max-width: 70vw;
  margin: 0 auto;
}


h3 {
  font-size: 40px;
  color: #A7B83A;
  text-align: center;
  margin-bottom: 4vw;
}

/* section01 */
.sec01 img {
  width: 100%;
  margin-bottom: 4.5vw;
  border: 2px solid #5D9713;
  border-radius: 1.5%;
}

.sec h3 {
  margin-top: 60px;
}

/* section02~ */
.grid {
  display: grid;
  grid-template-columns: minmax(repeat(3,31.25vw));
  grid-template-rows: minmax(46.5vw 21.6vw);
  column-gap: 2vw;
  row-gap: 2vw;
}

.item1 {
  grid-column: 1/4;
  grid-row: 1/2;
}

.item2 {
  grid-column: 1/2;
  grid-row: 2/3;
}

.item3 {
  grid-column: 2/3;
  grid-row: 2/3;
}

.item4 {
  grid-column: 3/4;
  grid-row: 2/3;
}

.guide {
  display: flex;
  margin-top: 2.7vw;
  justify-content: space-around;
}

.course {
  width: 45%;
}

.overview {
  width: 50%;
}

.iconbox li {
  line-height: 2;
  position: relative;
  padding-left: 4em;
  vertical-align: baseline;
  list-style-position: inside;
}

.icon1:before {
  content: "";
  width: 35px;
  height: 35px;
  background-image: url(../images/routeguide/icon06.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 0.1em;
	left: 0;
}

.icon1 {
  margin-bottom: 15px;
}

.icon2:before {
  content: "";
  width: 30px;
  height: 30px;
  background-image: url(../images/routeguide/icon02.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 0.1em;
	left: 1%;
}

.icon2 {
  margin-bottom: 15px;
}

.icon3:before {
  content: "";
  width: 47px;
  height: 47px;
  background-image: url(../images/routeguide/icon03.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 0.1em;
	left: 0;
}

.icon3 {
  margin-bottom: 30px;
}

.icon4:before {
  content: "";
  width: 40px;
  height: 40px;
  background-image: url(../images/routeguide/icon04.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: -0.5em;
	left: 0;
}

.icon4 a {
	position: relative; 
	color: #A7B83A; 
	padding-bottom: 10px;
  font-weight: bold;
  font-size: 1.1rem;
}

.icon4 a::before {
	content: "";
	position: absolute; 
	left: 50%; 
	bottom: 0;
	width: 0; 
	height: 2px;
	background-color: #A7B83A;
	transition: all 0.4s ease; 
}

.icon4 a:hover::before {
	width: 100%;
	left: 0;
}

.overview>p:before {
  content: "";
  width: 48px;
  height: 48px;
  background-image: url(../images/routeguide/icon05.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: -0.5em;
	left: 0;
}

.overview > p {
  line-height: 2;
  position: relative;
  padding-left: 4em;
  vertical-align: baseline;
  list-style-position: inside;
}

hr {
  border-width: 3px 0px 0px 0px;
  border-style: dotted;
  border-color: #A7B83A;
  height: 1px;
  margin: 6vw calc(50% - 50vw);
  width: 100vw;
}

.section {
  position: relative;
}

.sec09 {
  margin-bottom: 30px;
  padding-bottom: 140px;
}

.back-img04 {
  width: 70%;
  position: relative;
  bottom: -0.5vh;
  z-index: 5;
}

@media screen and (max-width: 384px) {
  h1 {
    font-size: 1.5rem;
  }

  .sec h3 {
    font-size: 28px;
    line-height: 1.2;
    margin: 20px 0;
  }

  .kv-img-txt p {
    font-size: 1rem;
    top: 60%;
    transform: translate(-50%,-60%);
  }
}

@media (max-width: 768px) {
    
  .kv-img-txt .kv-img {
    display: none;
  }

  .kv-img-txt .kv-img-sp {
    display: block;
    margin-top: 20vw;
  }  
  
  .page_oerview p {
    font-size: 2.8vw;
    margin-top: 68vw;
  }

  .sec {
    max-width: 100%;
    padding: 0 24px;
    margin-top: 50px;
  }

  .grid {
    display: block;
    display: flex;
    position: relative;
    width: 100%;
    padding-top: 62.5%;
    overflow: hidden;
    border-radius: 10px;
  }

  @keyframes slideshow {
    0% {
      opacity: 0;
    }
    
    10% {
      opacity: 1;
    }
    
    28% {
      opacity: 1;
    }
    
    38% {
      opacity: 0;
    }
    
    100% {
      opacity: 0;
    }
  }

  .grid img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: slideshow 16s linear infinite;
    /* background-color: #c6c6c6; */
  }

  .grid .item2 img {
    animation-delay: 4s;
  }
    
  .grid .item3 img {
    animation-delay: 8s;
  }

  .grid .item4 img {
    animation-delay: 12s;
  }

  h3 {
    font-size: 28px;
    color: #A7B83A;
    text-align: center;
    margin-bottom: 4vw;
  }  

  .guide {
    display: block;
  }

  .course {
    width: 100%;
  }

  .iconbox {
    width: 100%;
    display: block;
  }

  .iconbox li {
    padding-left: 3em;
  }

  .overview > p {
    padding-left: 3em;
  }

  .overview {
    margin-top: 0.5vh;
    width: 100%;
  }

  .icon1:before {
    width: 25px;
    height: 25px;
    margin-right: 2.5vw;
    top: 8%;
    left: 0;
  }

  .icon2:before {
    width: 20px;
    height: 20px;
    margin-right: 3.5vw;
    top: 20%;
    left: 1%;
  }

  .icon3:before {
    width: 30px;
    height: 30px;
    margin-right: 2vw;
    top: 8%;
    left: 0;
  }

  .icon4:before {
    width: 25px;
    height: 25px;
    margin-right: 3.5vw;
    top: 23%;
    left: 0;
  }

  .overview {
    margin-top: 20px;
  }

  .overview>p:before {
    width: 35px;
    height: 35px;
    top: 1%;
    left: -1%;
  }

  .section {
    padding: 0;
    max-width: 100vw;
    margin: 0 auto;
  }

  .sec09 {
    padding-bottom: 60px;
  }

}

@media screen and (min-width: 2886px){
  .sec {
    max-width: 2000px;
    margin: 0 auto;
  }

  .sec09 {
    padding-bottom: 200px;
  }

  .footer {
    margin-top: 100px;
  }

  .main {
    background-size: 40%;
  }
  
}